//
//  GaoMenuViewModel.m
//  UgcStudy
//
//  Created by Gikki Ares on 2020/10/21.
//

#import "JsMenuItemModel.h"

@implementation JsMenuItemModel

//不区分选中图片和不选中的图片;
+ (JsMenuItemModel *)modelWithImage:(nullable UIImage *)image title:(NSString *)title {
	JsMenuItemModel * model = [[JsMenuItemModel alloc]init];
	model.image = image;
	model.title = title;
	return model;
}
+ (JsMenuItemModel *)modelWithImageUrl:(nullable NSString *)imageUrl title:(NSString *)title {
	JsMenuItemModel * model = [[JsMenuItemModel alloc]init];
	model.imageUrl = imageUrl;
	model.title = title;
	return model;
}
@end
